<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@ include file="/WEB-INF/common/public.jspf"%>
		<%@ include file="/WEB-INF/common/easyui.jspf"%>

		<title>签到历史查询</title>
	</head>

	<body>
		<script type="text/javascript">
			$(function() {
				$('#supplierList').datagrid({
					url: '/signin/getHistory',
					pagination: true,
					fitColumns: true,
					idField:"starttime",
					method:"get",
					striped: true,
					loadMsg: '正在加载数据,请稍等.',
					rownumbers: true,
					fit: true,
					remoteSort: false,
					columns: [[
					     {checkbox: true},
					     {
								field: 'starttime',
								title: 'starttime',
								sortable: true,
								width: 300,
								hidden: true
							},
					     {
							field: 'classname',
							title: '课程名称',
							sortable: true,
							width: 300
							
						}, {
							field: 'starttimeFormat',
							title: '签到时间',
							sortable: true,
							width: 300
						}
						]]
					 
				});
				
				$("#supplierList").datagrid({
					onClickRow:function(rowIndex, rowData){
						parent.$("#starttime1234").attr("value",rowData.starttime);
						parent.$("#win").dialog({    
						    title: rowData.classname,    
						    draggable:false,   
						    closed: false,    
						    cache: false, 
						    fit:true,
						    content:"<iframe src='/signin/list' height='100%' width='100%' frameborder='0' ></iframe>",
						    modal: true   
						});
					}
					
				});
				
				
			})
		</script>
		<table id="supplierList"></table>
		
	</body>

</html>